home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaauuuuddddiiiitttt((((1111MMMM)))) aaaauuuuddddiiiitttt((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- audit - system audit trail startup and shutdown script
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////eeeettttcccc////iiiinnnniiiitttt....dddd////aaaauuuuddddiiiitttt [ ssssttttaaaarrrrtttt | ssssttttoooopppp ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _a_u_d_i_t shell script is called during system startup from /_e_t_c/_r_c_2 to
- start the system audit trail daemon, _s_a_t_d(1M), and enable auditing of
- predefined audit events (using _s_a_t__s_e_l_e_c_t(1M)). The script is called
- during system shutdown from /_e_t_c/_r_c_0 to kill the daemon gracefully and
- disable auditing.
-
- Note that, as installed, auditing is off by default and must be enabled
- as described in configuration flags, below. In addition, once auditing
- has been enabled via _c_h_k_c_o_n_f_i_g(1M), the system should be rebooted to
- enable auditing from system startup. At a minimum, ////eeeettttcccc////iiiinnnniiiitttt....dddd////aaaauuuuddddiiiitttt
- ssssttttaaaarrrrtttt must be executed by root before any auditing actually takes place.
-
- When called with the ssssttttaaaarrrrtttt argument, the _a_u_d_i_t script does the following
- (provided that auditing has been enabled):
-
- +o Looks for any "emergency files" (see _s_a_t_d(1M)) and issues a warning if
- it finds any.
- +o Ensures that _s_a_t_d and _s_a_t__s_e_l_e_c_t are executable.
- +o Starts the audit daemon, _s_a_t_d.
- +o Enables auditing of predefined audit events.
-
- When called with the ssssttttoooopppp argument, the _a_u_d_i_t script gracefully
- terminates the _s_a_t daemon and disables auditing of all events.
-
- CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFLLLLAAAAGGGGSSSS
- The audit subsystem is enabled if its configuration flag in the
- /_e_t_c/_c_o_n_f_i_g directory is in the oooonnnn state. The configuration flag file
- for auditing is /_e_t_c/_c_o_n_f_i_g/_a_u_d_i_t. If a flag file is missing, the flag
- is considered off. Use the _c_h_k_c_o_n_f_i_g(1M) command to turn a flag oooonnnn or
- ooooffffffff. For example,
-
- _cccc_hhhh_kkkk_cccc_oooo_nnnn_ffff_iiii_gggg _aaaa_uuuu_dddd_iiii_tttt _oooo_nnnn
-
- enables auditing. When invoked without arguments, _c_h_k_c_o_n_f_i_g prints the
- state of all known flags.
-
- There is a special flag, vvvveeeerrrrbbbboooosssseeee. The vvvveeeerrrrbbbboooosssseeee flag controls the printing
- of the names of daemons as they are started.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS FFFFIIIILLLLEEEESSSS
- Site-dependent options for _s_a_t_d and _s_a_t__s_e_l_e_c_t belong in options files in
- /_e_t_c/_c_o_n_f_i_g. The option file for _s_a_t_d is _s_a_t_d._o_p_t_i_o_n_s. The options file
- for _s_a_t__s_e_l_e_c_t events is _s_a_t__s_e_l_e_c_t._o_p_t_i_o_n_s. The options files for
- selecting subject user, group or label events are
- _s_a_t__s_e_l_e_c_t._s_u_b_j_e_c_t._u_s_e_r, _s_a_t__s_e_l_e_c_t._s_u_b_j_e_c_t._g_r_o_u_p and
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- aaaauuuuddddiiiitttt((((1111MMMM)))) aaaauuuuddddiiiitttt((((1111MMMM))))
-
-
-
- _s_a_t__s_e_l_e_c_t._s_u_b_j_e_c_t._m_a_c. The options files for selecting object user,
- group or label events are _s_a_t__s_e_l_e_c_t._o_b_j_e_c_t._u_s_e_r,
- _s_a_t__s_e_l_e_c_t._o_b_j_e_c_t._g_r_o_u_p and _s_a_t__s_e_l_e_c_t._o_b_j_e_c_t._m_a_c. These files contain
- options that their respective commands will be run with to override the
- defaults.
-
- To add filters to the _s_a_t_d command line invoked by the _a_u_d_i_t shell
- script, place the filter command lines into /_e_t_c/_c_o_n_f_i_g in files with
- names that begin with ssssaaaattttdddd....ffffiiiilllltttteeeerrrr. If any of these files are found, the
- output of _s_a_t_d is piped to them in the order that they are found using
- _l_s. For more information, see _a_u_d_i_t__f_i_l_e_s(5). See the document _I_R_I_X
- _A_d_m_i_n: _B_a_c_k_u_p, _S_e_c_u_r_i_t_y, _a_n_d _A_c_c_o_u_n_t_i_n_g and _s_a_t_d(1M) for details on valid
- options.
-
- Note that if audit filters are used, it may be necessary for the _a_u_d_i_t
- script to pause for several seconds to allow _s_a_t_d to completely
- initialize the audit system before any events can be enabled. The
- default delay in this case is 2 seconds. To override this delay, for
- example in the case where a particular audit filter takes some additional
- time to start up, place the delay time (in seconds) in the file
- /_e_t_c/_c_o_n_f_i_g/_s_a_t_d._d_e_l_a_y.
-
- FFFFIIIILLLLEEEESSSS
- /etc/init.d/audit
- /etc/rc0.d/K40audit linked to /_e_t_c/_i_n_i_t._d/_a_u_d_i_t
- /etc/rc2.d/S30audit linked to /_e_t_c/_i_n_i_t._d/_a_u_d_i_t
- /etc/config configuration flags and options files
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- rc0(1M), rc2(1M), sat_echo(1M), sat_interpret(1M), sat_reduce(1M),
- sat_select(1M), sat_summarize(1M), satconfig(1M), satd(1M),
- audit_files(5).
-
- _I_R_I_X _A_d_m_i_n: _B_a_c_k_u_p, _S_e_c_u_r_i_t_y, _a_n_d _A_c_c_o_u_n_t_i_n_g.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-